package com.resume.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author: 梁云亮
 * @Date: 2021/7/16 11:59
 * @Describe:省
 */
@ApiModel(value = "省实体类：Province")
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_province")
public class Province implements Serializable {
    private static final long serialVersionUID = -6334932542760802922L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 省名
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "省名")
    private String name;

    /**
     * 大区名
     */
    @TableField(value = "area")
    @ApiModelProperty(value = "大区名")
    private String area;

    /**
     * 显示优先级
     */
    @TableField(value = "priority")
    @ApiModelProperty(value = "显示优先级")
    private Integer priority;

    /**
     * 简介
     */
    @TableField(value = "info")
    @ApiModelProperty(value = "简介")
    private String info;

    /**
     * 状态：1可用，2不可用
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态：1可用，2不可用")
    private Integer status;

}